package com.kuyun.base.model;

import java.util.List;

import com.kuyun.base.base.BaseModel;
import com.kuyun.base.util.Constants;

/**
 * 基础权限对象
 * 
 * @author 唐靖
 *
 * @date 2016年6月18日下午1:29:42
 *
 */
public class BasePrivilege extends BaseModel {

	private static final long serialVersionUID = 1L;

	/**
	 * 基础权限名称
	 */
	private String basePrivilegeName;

	/**
	 * 基础权限类型
	 */
	private String basePrivilegeType;

	/**
	 * 基础权限编码
	 */
	private String basePrivilegeCode;

	/**
	 * 父权限ID
	 */
	private String baseParivilegeParentId;

	/**
	 * 权限url
	 */
	private String basePrivilegeUrl;
	/**
	 * 链接图标
	 */
	private String urlIcon;

	/**
	 * 排序顺序
	 */
	private int basePrivilegeSort;

	/**
	 * 孩子权限
	 */
	private List<BasePrivilege> children;

	/**
	 * 权限状态，0启用，1停用
	 */
	private String basePrivilegeStatus = Constants.STATUS_0;

	public String getBasePrivilegeName() {
		return basePrivilegeName;
	}

	public void setBasePrivilegeName(String basePrivilegeName) {
		this.basePrivilegeName = basePrivilegeName;
	}

	public String getBasePrivilegeType() {
		return basePrivilegeType;
	}

	public void setBasePrivilegeType(String basePrivilegeType) {
		this.basePrivilegeType = basePrivilegeType;
	}

	public String getBasePrivilegeCode() {
		return basePrivilegeCode;
	}

	public void setBasePrivilegeCode(String basePrivilegeCode) {
		this.basePrivilegeCode = basePrivilegeCode;
	}

	public String getBaseParivilegeParentId() {
		return baseParivilegeParentId;
	}

	public void setBaseParivilegeParentId(String baseParivilegeParentId) {
		this.baseParivilegeParentId = baseParivilegeParentId;
	}

	public String getBasePrivilegeUrl() {
		return basePrivilegeUrl;
	}

	public void setBasePrivilegeUrl(String basePrivilegeUrl) {
		this.basePrivilegeUrl = basePrivilegeUrl;
	}

	public static long getSerialversionuid() {
		return serialVersionUID;
	}

	public String getUrlIcon() {
		return urlIcon;
	}

	public void setUrlIcon(String urlIcon) {
		this.urlIcon = urlIcon;
	}

	public List<BasePrivilege> getChildren() {
		return children;
	}

	public void setChildren(List<BasePrivilege> children) {
		this.children = children;
	}

	public int getBasePrivilegeSort() {
		return basePrivilegeSort;
	}

	public void setBasePrivilegeSort(int basePrivilegeSort) {
		this.basePrivilegeSort = basePrivilegeSort;
	}

	public String getBasePrivilegeStatus() {
		return basePrivilegeStatus;
	}

	public void setBasePrivilegeStatus(String basePrivilegeStatus) {
		this.basePrivilegeStatus = basePrivilegeStatus;
	}

}
